package com.example.tass.domain;

import cn.tass.exceptions.TAException;

public class MyImportRooCertRequest extends MyBaseRequest{
    private String rootCertId;
    private String parentRootCertId;
    private String cert;

    public MyImportRooCertRequest() {
    }

    public String getRootCertId() {
        return this.rootCertId;
    }

    public void setRootCertId(String rootCertId) {
        this.rootCertId = rootCertId;
    }

    public String getParentRootCertId() {
        return this.parentRootCertId;
    }

    public void setParentRootCertId(String parentRootCertId) {
        this.parentRootCertId = parentRootCertId;
    }

    public String getCert() {
        return this.cert;
    }

    public void setCert(String cert) {
        this.cert = cert;
    }

    public void validate() throws TAException {
        this.checkParamIsEmpty(this.rootCertId, "rootCertId");
        this.checkParamIsEmpty(this.cert, "cert");
    }
}
